package com.fedming.bottomnavigationdemo.Bean;


import com.bin.david.form.annotation.SmartColumn;
import com.bin.david.form.annotation.SmartTable;

public class MedicationBean {
    public Integer id;
    public String name;
    public String format;
    public Double price;
    public Integer quantity;
    public Double total;
    public String comment;
    public String create_date;

    public MedicationBean(){}

    public MedicationBean(Integer id, String name, String format, Double price, Integer quantity, Double total, String comment,String create_date){
        this.id = id;
        this.name = name;
        this.format = format;
        this.price = price;
        this.quantity = quantity;
        this.total = total;
        this.comment = comment;
        this.create_date = create_date;
    }
    public MedicationBean(Integer id,Integer patientId, String name, String format, Double price, Integer quantity, Double total, String comment,String create_date){
        this.id = id;
        this.name = name;
        this.format = format;
        this.price = price;
        this.quantity = quantity;
        this.total = total;
        this.comment = comment;
        this.create_date = create_date;
    }
    public void set(MedicationBeanAuto medicationBeanAuto){
        this.id = medicationBeanAuto.id;
        this.name = medicationBeanAuto.name;
        this.format = medicationBeanAuto.format;
        this.price = medicationBeanAuto.price;
        this.quantity = medicationBeanAuto.quantity;
        this.total = medicationBeanAuto.total;
        this.comment = medicationBeanAuto.comment;
        this.create_date = medicationBeanAuto.create_date;
    }
}
